7ac88d786791b56f039486c3d868214f58c57ede,trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/PatternRuleLoader.java,PatternRuleHandler,endElement,#String#String#String#,219

Before Change


    } else if (qName.equals("exception")) {
      inException = false;
    } else if (qName.equals("token")) {
      Element stringElement = new Element(elements.toString(), caseSensitive, stringRegExp,
          stringInflected);
      stringElement.setNegation(stringNegation);
      if (skipPos != 0) {
        stringElement.setSkipNext(skipPos);
        skipPos = 0;

After Change


    } else if (qName.equals("exception")) {
      inException = false;
      if (!exceptionSet) {
      stringElement = new Element(elements.toString(), caseSensitive, stringRegExp,
          stringInflected);
      exceptionSet = true;
      }
      stringElement.setNegation(stringNegation);
        if (!exceptions.toString().equals("")) {
        stringElement.setStringException(exceptions.toString(), exceptionStringRegExp, 
            exceptionStringInflected, exceptionStringNegation, exceptionValidNext);